package server

import (
	dtfs "github.com/MzoroHaHa/dev-tools/backend/app/server/dt-fs"
	"github.com/MzoroHaHa/dev-tools/backend/app/server/nginx"
)

func InitRoutes() {
	_gin := UsingServer.engine

	ngGroup := _gin.Group("nginx")
	nginx.NewNgController(ngGroup)

	dtFsGroup := _gin.Group("fs")
	dtfs.NewDirInfo(dtFsGroup)
	dtfs.NewFileInfo(dtFsGroup)
}
